import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { FlatrentalVisualizeVO, FlatrentalVisualizeQuery } from '@/api/zichanguanli/flatRentalVisualize/types';

/**
 * 查询公寓租赁信息可视化列表
 * @param query
 * @returns {*}
 */

export const listFlatrentalVisualize = (query?: FlatrentalVisualizeQuery): AxiosPromise<FlatrentalVisualizeVO[]> => {
  return request({
    url: '/zichanguanli/flatbasicInfo/visualize',
    method: 'get',
    params: query
  });
};
